package com.tjetc.service;

import com.tjetc.entity.LogisticsPartner;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

/**
 * (LogisticsPartner)表服务接口
 *
 * @author makejava
 * @since 2025-09-19 10:34:25
 */
public interface LogisticsPartnerService {

    /**
     * 分页查询
     *
     * @param logisticsPartner 筛选条件
     * @param pageRequest      分页对象
     * @return 查询结果
     */
    public Object queryByPage(String name, Integer pageNum, Integer pageSize);

    public LogisticsPartner findById(Long id);

    public void updateById(LogisticsPartner logisticsPartner);

    public void insert(LogisticsPartner logisticsPartner);

    public void deleteById(Long id);

    public void setDefaultPartner(Long partnerId);
}
